@import './../../assets/variables.less';

.header {
	background: #fff;
	.header__btn--context {
		border-bottom: 1px solid #DCDCDC;
		position: relative;
		.project-select {
			float: left;
			padding: 12px 20px;
			.project-title {
			    color: #4a4a4a;
			    float: left;
			    font-family: PingFangSC-Regular;
			    font-size: 14px;
			    margin: 10px 10px 0 0;
			}
			.u-select {
				float: left;
				width: 300px !important;
				height: 40px;
				.u-select-selection__rendered {
					margin-left: 14px ;
					font-size: 14px;
				}
			}
		}
		.project-download {
			float: right;
			margin: 13px 22px 10.5px 0;
			width: 140px;
			height: 34px;
			font-size: 14px;
			background: #fff;
			color: #1884EE;
		    overflow: inherit;
		}
		.project-create {
			float: right;
			margin: 13px 22px 10.5px 0;
			width: 140px;
			height: 34px;
			font-size: 14px;
		}
		.dropdown-download {
			position: absolute;
			right: 183px;
			top: 48px;
			width: 140px;
			border: 1px solid #ccc;
			background: #fff;
			z-index: 999;
			border-radius: 4px;
			li {
				a {
				    display: block;
					padding: 10px;
					color: #666;
					text-align: center;
					&:hover {
						background: #0092FF ;
					}
				}
			}
		}
	}
	.header__progress {
		.project-totle {
			float: left;
			margin: 15px 20px;
			color: rgba(74, 74, 74, 1);
			font-size: 14px;
			font-family: PingFangSC-Semibold;
			font-weight: bold;
		}
	}
}
.project__contain {
	margin-top: 10px;
	padding-bottom: 100px;
	.project-item {
		background: #fff;
		margin-bottom: 10px;
		.project-item-header {
			.close-item {
				background: url('./../../assets/image/close_item.png') no-repeat;
				float: left;
				background-size: contain;
				height: 14px;
			    margin: 18px 10px 10px 30px;
			    width: 14px;
			}
			.show-item {
				background: url('./../../assets/image/show_item.png') no-repeat;
				float: left;
				background-size: contain;
				height: 14px;
			    margin: 18px 10px 10px 30px;
			    width: 14px;
			}
			.item-title {
				float: left;
				font-size: 12px;
				margin: 18px 0 10px;
				width: 600px;
			}
			.versio--type {
				float: left;
				font-size: 12px;
				margin-left: 100px;
			}
			.versio--number {
				float: left;
				font-size: 12px;
				margin-left: 20px;
				color: #2C7EDC;
			    cursor: pointer;
			    width: 70px;
			}
			.project--btn__group {
				float: right;
				.project-item-btn {
					float: left;
					margin: 18px 0px;
					overflow: hidden;
					b {
						font-size: 12px;
						font-weight: normal;
						color: #2C7EDC ;
						padding:0 13px;
						border-right: 1px solid #ccc;
						margin-right: -1px;
						float: left;
						cursor: pointer;
					}
					a {
						font-size: 12px;
						color: #2C7EDC ;
						padding:0 13px;
						border-right: 1px solid #ccc;
						margin-right: -1px;
						float: left;
					}
				}
				.history--list {
					background: url('./../../assets/image/planHistory.png') no-repeat;
					float: left;
					width: 15px;
					height: 15px;
				    background-size: contain;
				    margin: 8px;
				    margin-top: 19px;
				   	margin-left: 0;
				}
			}
			.project-item-date {
				float: left;
			    padding: 0px 0 10px;
			    width: 100%;
				p {
					font-size: 12px;
					color: #4A4A4A;
					float: left;
					margin: 0;
				}
				.current-progress {
					margin: 0 30px;
				}
				.plan-total {
					margin-right: 200px;
				}
				.plan-date {
					margin-right: 50px;
				}
			}
		}
		.project-item-content {
			border-top: 1px dashed #ccc;
			padding: 30px 20px 0;
			.project-table {
				padding-bottom: 20px;
				.u-table {
					overflow: inherit;
					border-top: 1px solid #DDDEE1;
					border-left: 1px solid #DDDEE1;
					overflow-x: auto;
					table{
						min-width: 1300px;
						max-width: 130%;
					}
					.u-table-content {
						position: relative;
						
						.u-table-thead {
							tr {
								:nth-child(1) {
									padding: 12px 14px;
								}
								th {
									border-right: 1px solid #DDDEE1;
									padding: 12px 5px;
									background: #F3F3F3;
									color: #4A4A4A ;
									font-size: 12px;
								}
							}
						}
						.u-table-tbody {
							tr {
								td {
									position: relative;
									border-right: 1px solid #E0E0E0;
								    padding: 12px 12px 12px 14px;
								    font-size: 12px;
								    .u-table-row-expand-icon {
								    	float: left;
								    }
								    .u-table-row-indent {
								    	padding: 0 !important;
								    }
								    p {
								    	display: flex;
									    margin: 0;
									    width: 75%;
									    a {
											color: #5D5D5D;
    										flex: 1;
										}
										span {
											max-width: 250px;
											padding-right: 5px;
										}
								    }
								    a {
										color: #5D5D5D;
										float: left;
										position: relative;
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

// 控制modal透明度
.u-modal.fade {
    opacity: 1;
}

.u-modal.in {
    .u-modal-dialog {
    	top: 16%;
    }
}

.modal-confirm {
	margin-top: 0;
}

// xxxx

.opinion--box {
	width: 100%;
	height: 229px;
	outline: none;
    background: #F6F6F6;
    padding: 5px 10px;
}

.approval--person {
	width: 350px;
	margin: 0 auto;
	.approval--title {
		margin: 0;
		font-size: 12px;
		background: #ccc;
	    text-align: left;
	    padding-left: 15px;
	    padding-top: 3px;
	    padding-bottom: 3px;
	}
	.approval--list {
		text-align: left;
		li {
			border-bottom: 1px solid #ccc;
		    border-left: 1px solid #ccc;
	        border-right: 1px solid #ccc;
			padding: 10px 10px;
		}
	}
}

.approval--way {
	width: 100%;
	height: 525px;
	border: 1px solid #ccc;
	margin: 0 auto;
    overflow-y: auto;
    div {
    	ul {
    		li {
    			.item--status {
    				float: left;
    				width: 25%;
				    height: 100px;
    				position: relative;
    				span {
    					line-height: 100px;
    				}
    				.right--status {
    					background: url('./../../assets/image/right.png') no-repeat;
    					width: 24px;
    					height: 24px;
    					position: absolute;
    					right: 14px;
					    top: 42px;
					    z-index: 99;
    				}
    				.fail--status {
    					background: url('./../../assets/image/fail.png') no-repeat;
    					width: 24px;
    					height: 24px;
    					position: absolute;
    					right: 14px;
					    top: 42px;
					    z-index: 99;
    				}
    				.pending--status {
    					background: url('./../../assets/image/wating.png') no-repeat;
    					width: 24px;
    					height: 24px;
    					position: absolute;
    					right: 14px;
					    top: 42px;
					    z-index: 99;
    				}
    				.line {
    					width: 1px;
    					height: 100%;
    					border-left: 1px dashed #ccc;
					    position: absolute;
    					right: 30px;
    				}
    			}
    			.item--content {
    				float: left;
				    width: 70%;
				    margin-top: 20px;
				    border-radius: 20px;
				    background: #f3f3f3;
				    .base--data {
				    	margin-top: 10px;
				    	.name {
				    		float: left;
				    		margin-left: 35px;
				    	}
				    	.name--spe {
				    		float: left;
				    		margin: 0;
				    		margin-left: 35px;
				    		border-bottom: 1px solid #ccc;
			    		    width: 88%;
				    	}
				    	.date {
				    		float: right;
				    		margin-right: 25px;
				    		color:  #a6a6a6;
				    	}
				    }
				    p {
			    		text-align: left;
					    margin-left: 35px;
					    margin: 10px 25px 15px 35px;
					    color: #a6a6a6;
			    	}
    			}
    		}
    	}
    }
}

.visibility--hide {
	visibility: hidden;
}
.hide {
	display: none;
}

//面包屑
.brc-nav {
	display: inline-block;
	.u-breadcrumb {
		background-color: #fff;
		margin-bottom: 0;
		padding: 0;
		border-radius: inherit;
		margin-right: 15px;
		margin-top: 11px;
		li:nth-child(2){
			color: #4a4a4a;
			font-size: 14px;
		}
		a {
			color: #1115ff;
			cursor: pointer;
		}
	}
}

.show {
    display: block;
}
  
.hidden {
    display: none;
}
.addTarget{
	color: #2c7edc!important;
}

.u-modal-body{
	.search-header{
		display: flex;
		justify-content: space-between;
		margin-bottom: 20px;

		.search-header-search{
			display:  flex;
			width: 45%;
		}
		.search-icon{
			color: #999;
			align-self: center;
			left: -40px;
			font-size: 30px;
			position: relative;
		}
		.u-form-control-suffix{
			right: 30px;
			color: #999;
		}
		.u-form-control{
			height: 40px;
		}
		.chooseTarget{
			border: 1px solid #2C7EDC;
			color: #2C7EDC;
			background: #fff;
			height: 39px;
		}
		
	}
}

.u-modal-footer{

	display: flex;
	justify-content: center;
	.cancel{
		border: 1px solid #2C7EDC;
		color: #2C7EDC;
		background: #fff;
		margin-right: 8px;
	}
	.confirm{
		color: #fff;
		background: #2C7EDC;
	}
	
}
.attrStyle{
    display: flex;
    align-items: center;
	border: 0;
	height: 35px;
}

.plan-table-text-center {
	text-align: center!important;
}

// 里程碑表格下方灰色表格线
.milestone-name-style {
	border-bottom: 1px solid #dddee1;
}

.targetModalheader{
	border-bottom: 1px solid #dcdcdc;
}
.chooseTargetFooter{
	display: flex;
	justify-content: space-between;
	padding: 15px;
	span{
		align-self: center;
	}
	.footerButton{
	    margin-left: -60px;
		.cancel{
			border: 1px solid #2C7EDC;
			color: #2C7EDC;
			background: #fff;
			margin-right: 8px;
		}
		.confirm{
			color: #fff;
			background: #2C7EDC;
		}
	}
}
.scroll-table-target{
	overflow-y: auto;
	max-height: 400px;
}